<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023/4/25
  Time: 14:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/update" method="post">
    <input type="hidden" name="id" readonly value="${model.id}">
    <div>品牌名称<input type="text" name="brandName" value="${model.brandName}"></div>
    <div>企业名称<input type="text" name="enterpriseName" value="${model.enterpriseName}"></div>
    <div>排序<input type="text" name="sort" value="${model.sort}"></div>
    <div>品牌介绍<textarea name="brandIntroduce" value="${model.brandIntroduce}"></textarea></div>
    <div>
        <c:if test="${model.style==1}">
            <label><input type="radio" name="style" checked value="1">启用</label>
            <label><input type="radio" name="style" value="0">停用</label>
        </c:if>
        <c:if test="${model.style!=1}">
            <label><input type="radio" name="style" value="1">启用</label>
            <label><input type="radio" name="style" checked value="0">停用</label>
        </c:if>
    </div>
    <div>
        <input type="submit" value="提交">
    </div>
</form>
</body>
</html>
